package com.lhb.service;

import com.lhb.dto.CourseAddDTO;
import com.lhb.dto.CourseEditDTO;
import com.lhb.dto.CoursePageQueryDTO;
import com.lhb.entity.Course;
import com.lhb.result.PageResult;

import javax.servlet.http.HttpServletResponse;
import java.util.ArrayList;

public interface CourseService {


    PageResult pageQuery(CoursePageQueryDTO coursePageQueryDTO);

    void add(CourseAddDTO courseAddDTO);

    void edit(CourseEditDTO courseEditDTO);

    void delete(Long id);

    void export(HttpServletResponse response, ArrayList<Course> list);
}
